

namespace Mysoft.Dbf.Writers
{
    public class LogicalFieldWriter : FieldWriterBase
    {
        public LogicalFieldWriter(string columnName)
            :
            base(columnName, 'L', 1, 0)
        { }

        protected override string FormatValueAsString(object value)
        {
            if ((bool)value)
                return "T";
            return "F";
        }
    }
}
